Skip to content

Version Packages - #245

Open
emily-shen wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages#245
emily-shen wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@emily-shen

@emily-shen emily-shen commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@cloudflare/containers@0.4.0

Minor Changes

  • bd79750: Declare an optional peer dependency on @cloudflare/workers-types of >=4.20260402.1, the first release providing Container.interceptOutboundHttps.

    Because consumers supply their own runtime types, the version this package builds against is the minimum they need. The range is enforced only when @cloudflare/workers-types is actually installed — projects using wrangler types are unaffected.

Patch Changes

  • 41206f9: Support relative URL paths in containerFetch.

  • b1b29ab: Fail with an actionable error when interceptHttps is enabled on a runtime that does not support ctx.container.interceptOutboundHttps.

    This previously surfaced as a bare TypeError: this.container.interceptOutboundHttps is not a function. Worse, the failure happened part-way through applying interception, so a container could be left with HTTP hosts already intercepted. The support check now runs before any interception is applied, and the error names the runtime date required (2026-04-02 or later).

@emily-shen
emily-shen requested a review from a team as a code owner August 21, 2026 14:39
@ask-bonk

ask-bonk Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@pkg-pr-new

pkg-pr-new Bot commented Aug 21, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@cloudflare/containers@245

commit: c8a7aae

@emily-shen
emily-shen force-pushed the changeset-release/main branch from 5faa1df to baad324 Compare August 21, 2026 15:30
@ask-bonk

ask-bonk Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@emily-shen
emily-shen force-pushed the changeset-release/main branch from baad324 to c8a7aae Compare August 22, 2026 00:37
@ask-bonk

ask-bonk Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants